package net.sppan.base.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.alibaba.fastjson.annotation.JSONField;

import net.sppan.base.entity.support.BaseEntity;

@Entity
@Table(name = "tr_exuser_content")
public class ExuserContent extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Long id;
	
	private Long exuserId;
	
	private Long dyContentId;
	
    private String exResult;
    
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date exTime;
    
    private String exDesc;
    

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getExuserId() {
		return exuserId;
	}

	public void setExuserId(Long exuserId) {
		this.exuserId = exuserId;
	}

	public Long getDyContentId() {
		return dyContentId;
	}

	public void setDyContentId(Long dyContentId) {
		this.dyContentId = dyContentId;
	}

	public String getExResult() {
		return exResult;
	}

	public void setExResult(String exResult) {
		this.exResult = exResult;
	}

	public Date getExTime() {
		return exTime;
	}

	public void setExTime(Date exTime) {
		this.exTime = exTime;
	}

	public String getExDesc() {
		return exDesc;
	}

	public void setExDesc(String exDesc) {
		this.exDesc = exDesc;
	}
}
